package net.betou.trade.main.dao;

import java.util.List;

import net.betou.common.hibernate3.Updater;
import net.betou.trade.entity.main.SuggestionType;

/**
 * 意见类型DAO接口。
 * 
 * 
 * @author O.Y.
 * 
 */
public interface SuggestionTypeDao{
	
	public SuggestionType save( SuggestionType bean );
	
	public SuggestionType deleteById( Integer id );
	
	public SuggestionType updateByUpdater( Updater< SuggestionType > updater );
	
	public SuggestionType findById( Integer id );
	
	/**
	 * 查找意见类型
	 * @param orderProperty
	 * @param orderDirection
	 * @return
	 */
	public List< SuggestionType > findList( String orderProperty, String orderDirection );
	
}